<template>
  <el-container style="height: 100vh;">
    <!-- 左侧侧边栏 -->
    <el-aside>
      <Sidebar />
    </el-aside>

    <!-- 右侧主视图 -->
    <el-main style="padding: 30px;">
      <router-view />
    </el-main>
  </el-container>
</template>

<script>
import Sidebar from './layout/Sidebar.vue';

export default {
  components: {
    Sidebar,
  },
};
</script>

<style>
html, body, #app {
  margin: 0;
  padding: 0;
  height: 100%;
}
</style>
